package com.cheney.dc.dao;

import org.hibernate.SessionFactory;

import com.cheney.dc.vo.DataInfo;
import com.cheney.dc.vo.DataType;
import com.vwinwork.dao.GenericDAO;

public class DataTypeDao extends GenericDAO<DataType>{
	
	private static DataTypeDao instance;
	public static DataTypeDao getInstance(SessionFactory sessionFactory) {
		if (instance == null) {
			instance = new DataTypeDao(sessionFactory);
		}
		return instance;
	}

	public DataTypeDao(SessionFactory sessionFactory) {
		super(sessionFactory, DataType.class);
	}
}
